# 1.整数 int
age = 18
print(age)
print(type(age))

# 2.浮点 float
pi = 3.14
print(pi)
print(type(pi))

# 3.空值 None
girl_friend = None
print(girl_friend)
print(type(girl_friend))

# 4.布尔 bool
is_marry = False
print(is_marry)
print(type(is_marry))

# 5.字符串str
# 1.用单引号和双引号一样
name = 'caichang'
name = "caichang"
print(name)
print(type(name))

# 2.r的用法，原样输出
# message = 'i'm ok'
# print(message)
path = 'd:\nawei\taitai\hehe'
print(path)

path = r'd:\nawei\taitai\hehe'
print(path)

# 3.f的用法：拼接字符串（格式化字符串）
print('我叫name，今年age')
print('我叫'+name+',今年'+str(age)+'岁')  # java
print('我叫%s，今年%d岁'%(name,age))
print(f'我叫{name}，今年{age}岁')

# 4.字符串有自己的各种函数，他是你通向成功的绊脚石
name='caichang'
print(name.upper())
print(min())